#ifndef MARKET_DATA_LINK_H_
#define MARKET_DATA_LINK_H_

#include "comminstrument.h"
#include "zmessage.h"

#include "AdaptorDlgBase.h"

class MarketDataLink
{
public:
	MarketDataLink();
	~MarketDataLink();
	virtual void Connect() {}
	virtual void Disconnect() {}
	void SetInstrumentList(CommInstrumentList *list);
	void SetDialog(AdaptorDlgBase *dlg) {mDialog = dlg;}

protected:
	CommInstrumentList	*mInstrList;
	int					mDist;
	AdaptorDlgBase		*mDialog;
};

#endif //MARKET_DATA_LINK_H_